import requests


class IhrmLoginApi(object):
    @classmethod
    def login(cls, req_data):
        resp = requests.post(url="http://192.168.163.130:8000/api/sys/login",
                             json=req_data)
        return resp


if __name__ == '__main__':
    data = {"mobile": "13800000002", "password": "123456"}
    print(IhrmLoginApi.login(data).json())
